@font-face {
    font-family: 汉仪细等线简 regular;
    src: url(../fonts/hyxdxj.ttf) format("truetype");  /* 非IE */
}


html,body,h4,h5,h6{font-family: "汉仪细等线简 regular"; !important;}

.form-control::-webkit-input-placeholder { color: white; }
.form-control:-moz-placeholder { color: white; }
.form-control::-moz-placeholder { color: white; }
.form-control:-ms-input-placeholder { color: white; }

.reste_input{
    border: 0;
    background-color: #ff5b81;
    border-radius:0;
    color:#ffc6d4;
    height: 40px;
}
.col-xs-left{
    padding-right: .4rem;
    padding-left: .9375rem;
}
.col-xs-right{
    padding-right: .9375rem;
    padding-left: .4rem;
}
.list-group-item:first-child{
    border-top-left-radius:0;
    border-top-right-radius:0;
}
.list-group-item{
    padding: .3rem .3rem;
    color: #474747;
    font-size: 0.8rem;
}
.list-group-item img{
    float: right;
    width: 6%;
    margin-right: 0.6rem;
}

.modal-content{
    border-radius: 0;
}
.list-group-item:last-child{
    border-radius: 0;
}
.list-group-item{
    padding:0.6rem 0 0.6rem 1.5rem;
}
/********引导********/
.index_wrapper{
    position: relative;
    width: 100%;
    height: auto;
    background: url(../image/index_bg.jpg) no-repeat;
    background-size: 100% auto;
}

@media screen and (min-width: 320px) {
    .index_wrapper:before{
        content: "";
        display: block;
        padding-top: 178%;
    }
}
@media screen and (max-width: 320px) {
    .index_wrapper:before{
        content: "";
        display: block;
        padding-top: 178%;
    }
}
@media screen and (min-width: 375px) {
    .index_wrapper:before{
        content: "";
        display: block;
        padding-top: 168%;
    }
}
.index_logo{
    width: 100%;
    height: 2rem;
    position: absolute;
    left:0;
    right: 0;
    margin: 0 auto;
    top:2rem;
    text-align: center;
}
.index_logo img{
    width: 20%;
}
.index_tit_box{
    width: 100%;
    height: 5rem;
    position: absolute;
    left:0;
    right: 0;
    margin: 0 auto;
    top:10rem;
    background: rgba(255, 50, 98, 0.62);
    text-align: center;
}
.index_tit_box img{
    width: 60%;
    margin: 1rem auto;
}
.index_foot{
    width: 100%;
    height: 5rem;
    position: absolute;
    left:0;
    right: 0;
    margin: 0 auto;
    bottom:2rem;
    text-align: center;
}
.index_foot img{
    width: 40%;
    margin: 0 auto;
}
/********登录********/
#loign-wrapper{
    width: 100%;
    height: 100%;
    min-height: 416px;
    z-index: 5000;
    padding: 80px 50px 50px 50px;
}

#login-layout{
    margin: 0 auto;
    width: 100%;
    height: auto;
    background: #fff;
    border-radius:20px;
    padding: 20px;
}
.login_header{
    margin: 0 auto;
    overflow: hidden;
    border-bottom:2px solid #ff3262;
}
.login_header h4{
    color:#ff3262;
    float: left;
}
.login_header a{
    color:#ff3262;
    font-size: 14px;
    float: right;
    margin-top: 12px;
}
#login-layout .login_span{
    background: url(../image/login_small.png) no-repeat;
    width: 81px;
    height: 17px;
    margin: 0 auto;
}
#login-layout .login_btn{
    border-radius:15px;
    border: 0;
    padding: 3px 40px;
    background-color: #ff5b81;
    color: #fff;
    font-size: 24px;
}

/************分享引导*************/

.fenxiang_layout{
    margin: 0 auto;
    width: 100%;
    height: auto;
    background: #fff;
}
.fenxiang_header{
    margin: 0 auto;
    overflow: hidden;
    border-bottom:2px solid #ff3262;
}
.fenxiang_header h4{
    color:#ff3262;
    float: left;
}

.fenxiang_layout .login_btn{
    border-radius:15px;
    border: 0;
    padding: 3px 40px;
    background-color: #ff5b81;
    color: #fff;
    font-size: 24px;
}

/*********添加留言************/


.addMessage_wrapper{
    width: 100%;
    height: 100%;
    z-index: 5000;
}

.addMessage_layout{
    margin: 0 auto;
    width: 100%;
    height: auto;
    background: #fff;
    padding: 0 10px 10px 10px;
}
.addMessage_header{
    overflow: hidden;
    border-bottom:2px solid #ff3262;
    margin-bottom: 15px;
}
.addMessage_header h4{
    font-size: 1.5rem;
    color:#ff3262;
    float: left;
}

.addMessage_layout .addMessage_span img{
    margin-top: 10px;
    float: right;
    width: 35%;
}
.addMessage_layout .submit_btn{
    border-radius:15px;
    border: 0;
    padding: 5px 25px;
    background-color: #ff5b81;
    color: #fff;
    font-size: 10px;
}

.reste_input_addMessage{
    border: 0;
    background-color: #808080;
    border-radius:0;
    color:#c6c6c6;
}

/*********我的喜帖*********/
#mycard-wrapper{
    position:relative;
    width: 100%;
    height: 100%;
}

.mycard_top{
    position: fixed;
    z-index: 99999;
    top:0;
    background: url(../image/template_bg.jpg) #fff;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
    padding-bottom: 0;
}
.mycard_main{
    margin-top: 6rem;
    padding: 1rem;
}

/********模板********/

#template-wrapper{
    position:relative;
    width: 100%;
    height: 100%;
    bottom: 2rem;
}

.template_top{
    position: fixed;
    z-index: 999;
    top:0;
    width: 100%;
    background: url(../image/template_bg.jpg) #fff;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
    padding-bottom: 0;

}
.template_header{
    width: 100%;
    height: auto;
    overflow: hidden;
    background: url(../image/template_bg.jpg) #fff;
    padding-bottom: 15px;
}
.template_header img{
    width: 120px;
    height: 25px;
    float: left;
}
.sidebar_switch{
    width: 120px;
    height: 25px;
    display: inline-block;
    float: right;
    color: #ff3261;
}

.icon_home{
    width: 30px;
    height: 30px;
    display: inline-block;
    float: right;
    background: url(../image/icon_hoem.png)no-repeat;
    background-size: 100%;
}
.template_title{
    width: 100%;
    height: auto;
    overflow: hidden;
    border-bottom: 1px solid #000;
    border-top: 2px solid #000;
    padding-top:5px;
    margin-bottom:15px;
}
.template_title h4{
    font-size: 1rem;
}
.template_main{
    margin-top: 7.5rem;
    padding: 1rem;
}
.template_box{
    background: rgba(222, 222, 222, 0.9);
    height: auto;
    width: 100%;
    margin-bottom: 15px;
    padding: 0.6rem;
    float: left;
    position: relative;
    box-shadow: 2px 2px 5px #888888;
}
.template_box a{
    text-decoration: none;
}
.template_con{
    height: auto;
    width: 100%;
}
.template_con img{
    width: 100%;
}


.template_foot{
   overflow: hidden;
    color: #fff;
}
.template_name{
    height: 50px;
    float: left;
    width: 72%;
    border-bottom: 1px solid #ff3261;
    overflow: hidden;
    color: #ff3261;
}
.template_name .title{
    margin-bottom: 0;
    margin-top: 0.2rem;
    font-size: 1.2rem;
}
.template_name .title_small{
    margin-bottom: 0;
    margin-top: 0;
    font-size: 0.7rem;
}
.template_heart{
    width: 21%;
    float: left;
    text-align: center;
}
.template_heart img{
    width: 100%;
    margin-top: 10px;
}

.sidebar {
    position: fixed;
    bottom: 0;
    z-index: 1000;
    display: block;
    padding: 10px;
    width: 100%;
    height: 48px;
    background: #fff;
}
.nav-sidebar {
    /*margin-bottom: 20px;*/
    float: left;
    margin-left: 10px;
}
.sidebar img{
    width: 80%;
}

/********制作模板*******/
.makecard-top{
    position: fixed;
    top:0;
    z-index: 2;
    width: 100%;
    background: url(../image/template_bg.jpg) #fff;
    padding: 1rem;
}
.make-form{
    margin-top: 111px;
}
.from-warp{
    padding: 0 20px 0 20px;
}


    /********我的模板*******/

.mycard_info{
    float: left;
    width: 52%;
    padding-left: 15px;
    padding-top: 10px;
    position: relative;
}
.card_info_btn{
    overflow: hidden;
}

.card_info_btn img{
    float: left;
    width:35%;
}


.callout {
    width: 235px;
    height: 50px;
    position: absolute;
    right: 30px;
    bottom:40px;
    display: none;
    background-color: rgba(230, 230, 230, 0.90);
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border-width: 2px;
    z-index: 9999;
}
.callout .notch {
    position: absolute;
    right: 20px;
    top:50px;
    margin: 0;
    border-top: 0;
    border-top: 15px solid rgba(230, 230, 230, 0.48);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    padding: 0;
    width: 0;
    height: 0;
}

.grid-container {
    z-index: 1;
    width: 230px;
    height: 50px;
    padding:5px;

}

.share_weixin,.share_pengyouquan,.share_weibo,.share_qq{
    background: url(../image/share_sns.png) no-repeat;
}
.share_weixin{
    display: inline-block;
    background-position: 0 0;
    width: 40px;
    height: 40px;
}
.share_pengyouquan{
    display: inline-block;
    background-position: -55px 0;
    width: 40px;
    height: 40px;
}
.share_weibo{
    display: inline-block;
    background-position: -108px 0;
    width: 40px;
    height: 40px;
}
.share_qq{
    display: inline-block;
    background-position: -162px 0;
    width: 40px;
    height: 40px;
}

/*********模板/成品 预览***********/

.preview_countdown{
    width: 100%;
    background: #fc6a8f;
    height: 60px;
    text-align: center;
    line-height: 60px;
    padding: 6px;
    box-shadow: 0 1px 3px 0 #000;
}
.preview_countdown h4{
    color: #fff;
    padding-top: 5px;
}

.preview_foot {
    position: fixed;
    bottom: 0;
    z-index: 1000;
    display: block;
    padding: 10px;
    width: 100%;
    height: 50px;
    background: #fff;
    box-shadow: 0 -3px 7px #888888;
}

.preview_editBtn {
    position: absolute;
    display: block;
    width: 50px;
    height: 50px;
    left:45%;
    bottom: 12px;
    background: #fff;
    border-radius: 100%;
    text-align: center;
    box-shadow: 0 -3px 7px #888888;
}
.preview_editBtn img{
    padding-top: 5px;
    width: 40px;
}

.preview_callout {
    width: 235px;
    height: 50px;
    position: absolute;
    right: 55px;
    top:58px;
    display: none;
    background-color: rgba(230, 230, 230, 0.91);
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border-width: 2px;
    z-index: 9999;
}
.preview_callout .notch {
    position: absolute;
    right: 20px;
    top:-15px;
    margin: 0;
    border-top: 0;
    border-bottom: 15px solid rgba(230, 230, 230, 0.91);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    padding: 0;
    width: 0;
    height: 0;
}

.placeholders{
    position: fixed;
    top: 109px;
    bottom: 45px;
    left: 0;
    right: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    -webkit-overflow-scrolling: touch;
}


/*==========以下部分是Validform必须的===========*/
.Validform_checktip{
    margin-left:8px;
    line-height:20px;
    overflow:hidden;
    color:#999;
    font-size:12px;
}
.Validform_right{
    color:#71b83d;
    padding-left:20px;
    background:url(../image/right.png) no-repeat left center;
    display: none;
}
.Validform_wrong{
    color:red;
    padding-left:20px;
    white-space:nowrap;
    background:url(../image/error.png) no-repeat left center;
}
.Validform_loading{
    padding-left:20px;
    background:url(../image/onLoad.gif) no-repeat left center;
}
.Validform_error{
}
#Validform_msg{color:#7d8289; font: 12px/1.5 tahoma, arial, \5b8b\4f53, sans-serif; width:280px; -webkit-box-shadow:2px 2px 3px #aaa; -moz-box-shadow:2px 2px 3px #aaa; background:#fff; position:absolute; top:0; right:50px; z-index:99999; display:none;filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#999999');}
#Validform_msg .iframe{position:absolute; left:0; top:-1px; z-index:-1;}
#Validform_msg .Validform_title{line-height:25px; height:25px; text-align:left; font-weight:bold; padding:0 8px; color:#fff; position:relative; background-color:#000;}
#Validform_msg a.Validform_close:link,#Validform_msg a.Validform_close:visited{line-height:22px; position:absolute; right:8px; top:0; color:#fff; text-decoration:none;}
#Validform_msg a.Validform_close:hover{color:#cc0;}
#Validform_msg .Validform_info{padding:8px;border:1px solid #000; border-top:none; text-align:left;}


/** 支付分享*/
.pay_submit_btn{
    border-radius:10px;
    border: 0;
    padding: 5px 25px;
    background-color: #ff5b81;
    color: #fff;
    font-size: 1rem;
}






